from django.urls import re_path, path, include
from rest_framework import routers
from . import views

router = routers.DefaultRouter()

router.register(r"xLogin", views.MoniterHasWorkViewSet, basename="10数据看板登录")
router.register(r"Status", views.HasWorkMemberListViewSet, basename="11场所上机数据查询")

# router.register(r"Online", views.MoniterOnlineWorkingStateViewSet, basename="11上报工作站上线状态")
router.register(
    r"Switch", views.MoniterUpdateWorkingStateViewSet, basename="12上报工作站变更状态"
)
# router.register(r"Events", views.MoniterUpdateWorkingEventViewSet, basename="13上报工作站事件消息")
# router.register(r"Goods", views.MoniterUpdateGoodEventViewSet, basename="14上报打赏点赞事件")
router.register(r"Games", views.MoniterUpdateGamesEventViewSet, basename="15上报游戏登录事件")

# router.register(r"test", views.TestSendMessageViewSet, basename="99自费消息测试")

urlpatterns = [
    path("", include(router.urls)),
]
